<?php

namespace app\index\model;

use think\Model;

class Core extends BaseModel
{
    public static function getByOnline()
    {
        return self::where('onlineswitch', 1)->order('weigh desc')->select();
    }
}
